namespace java com.veyou.thrift

struct TInnerProto {     
   1:i32 fromSrv,
   2:i32 id,
   3:string data
}  

struct TPushMsg
{
  1:string userId,
  2:string msg,
  3:i32 deviceType,
  4:string tag,
  5:i64 channelId,
  6:i32 type,
  7:optional string title,
  8:optional string appKey,
  9:optional list<string> aliases
  
} 

service TLogicService
{
  i32 sendData(1:TInnerProto proto)
}

service TAccessService
{
  i32 sendData(1:TInnerProto proto)
}

service TPushService
{
  bool push(1:TPushMsg pushMsg)
}